OpenChannelSettingsMenuComponent

open class OpenChannelSettingsMenuComponent

This class creates and performs a view corresponding the open channel settings menu area in Sendbird UIKit. since 3.0.0

Constructors

Link copied to clipboard
open fun OpenChannelSettingsMenuComponent()
Constructor since 3.0.

Types

Link copied to clipboard
enum Menu
Link copied to clipboard
open class Params
A collection of parameters, which can be applied to a default View.

Functions

Link copied to clipboard
open fun createMenuView(    @NonNull context: Context,     @NonNull title: String,     @Nullable description: String,     @NonNull type: SingleMenuType,     @DrawableRes iconResId: Int,     @ColorRes iconTintResId: Int): View
Creates a custom menu view.
Link copied to clipboard
open fun getRootView(): View
Returns the view created by onCreateView.
Link copied to clipboard
open fun notifyChannelChanged(@NonNull channel: OpenChannel)
Notifies this component that the channel data has changed.
Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @NonNull parent: ViewGroup,     @Nullable args: Bundle): View
Called after the component was created to make views.
Link copied to clipboard
protected open fun onMenuClicked(@NonNull view: View, @NonNull menu: OpenChannelSettingsMenuComponent.Menu)
Called when the item of the menu list is clicked.
Link copied to clipboard
open fun setOnMenuClickListener(@NonNull menuClickListener: OnItemClickListener<OpenChannelSettingsMenuComponent.Menu>)
Register a callback to be invoked when the item of the menu is clicked.

Properties

Link copied to clipboard
A collection of default menus.
Link copied to clipboard
Link copied to clipboard